<template>
  <div>
    <mt-header :title="title">
      <router-link to="/" slot="left">
        <mt-button icon="back">返回</mt-button>
      </router-link>
      <mt-button icon="more" @click="clickHandler" slot="right"></mt-button>
    </mt-header>
  </div>
</template>

<script>
import { Header } from 'mint-ui';
export default {
  data () {
    return {
      title: '标题过长会隐藏后面的内容啊哈哈哈哈'
    }
  },
  components: {
    Header
  },
  methods: {
    clickHandler() {
      alert(666)
    }
  }
}
</script>

<style scoped>

</style>
